package zuoye;

import java.io.File;
import java.util.Scanner;

public class Test05 {
    public static void main(String[] args) {
        while (true){
            Scanner scanner = new Scanner(System.in);
            File dir = new File(scanner.nextLine());
            if (dir.exists()){
                System.out.println("文件已存在，请更换");
            }else {
                dir.mkdirs();
                System.out.println("已创建");
                break;
            }
        }
    }
}
